﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Develop.DTO.DevelopProjectList;

/// <summary>
///     项目列表新增模型
/// </summary>
public class DevelopProjectListAddDTO
{
    /// <summary>
    ///     项目序列编码
    /// </summary>
    [Required(ErrorMessage = "项目序列编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     项目序列名字
    /// </summary>
    [Required(ErrorMessage = "项目序列名字不可为空")]
    public string Name { get; set; }

    /// <summary>
    ///     客户Id
    /// </summary>
    [Required(ErrorMessage = "客户Id不可为空")]
    public string CustomerId { get; set; }

    /// <summary>
    ///     客户Id
    /// </summary>
    public string? Remark { get; set; }
}